package com.rms.recruit_management_system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rms.recruit_management_system.pojo.Administrator;

import java.util.List;

public interface AdministratorService extends IService <Administrator> {

    Administrator adminLogin(Administrator administrator);

    Administrator findAdminByAdminId(Integer adminId);

    List<Administrator> getAdministratorList();

    void updateAdministrator(Administrator administrator);

    void addAdministrator(Administrator administrator);

    void deleteAdministrator(Integer adminId);

    void batchDeleteAdministrator(List<Integer> adminIdList);

    void setLastLoginTime(Integer adminId);

    void updatePassword(Integer adminId, String password);
}
